namespace WebRtcProject.Models
{
    public class Room
    {
        public string Id { get; set; } = string.Empty;
        public string Name { get; set; } = string.Empty;
        public List<User> Users { get; set; } = new List<User>();
        public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
        public int MaxUsers { get; set; } = 10;
        public bool IsPrivate { get; set; } = false;
        
        public bool IsFull => Users.Count >= MaxUsers;
        public int UserCount => Users.Count;
    }
} 